package com.mspbots.web.security;

import com.mspbots.web.core.model.Tenant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * com.mspbots.web.security.OauthResult
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/12/30
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OauthResult {
    private String token;
    private String identifier;
    private Tenant tenant;
    private UserOnly user;
    private String teamsId;
    private Set<String> authorities;
}
